<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <jsp:include page="/static/common/common.jsp"/>
    <title>Title</title>
    <script src="/static/js/studentInfo.js"></script>
</head>
<body>
<div id="studentInfo_datagrid">
</div>

<%--toolbar工具类--%>
<div id="studentInfo_toobar">
    <%--只有学生新增过来的数据才能编辑 一旦审核之后 只能查看不能编辑--%>
    <a class="easyui-linkbutton" iconCls="icon-add" plain="true"
       data-cmd="add">填写个人信息</a>
    <a class="easyui-linkbutton" iconCls="icon-look" plain="true"
       data-cmd="look">查看个人信息</a>
    <a class="easyui-linkbutton" iconCls="icon-revoke" plain="true"
       data-cmd="revoke">撤销申请</a>
    <a id="reload_btn" class="easyui-linkbutton" iconCls="icon-reload"
       plain="true" data-cmd="reload">刷新</a>
</div>

<div id="studentInfo_dialog" align="center">
    <form id="studentInfo_form" method="post">
        <input type="hidden" name="id" id="id">
        <table align="center" style="margin-top: 15px">
            <tbody>
            <tr>
                <td>真实姓名:</td>
                <td>
                    <input name="realName" class="easyui-textbox">
                </td>
            </tr>
            <tr>
                <td>身份证:</td>
                <td>
                    <input name="idNumber" class="easyui-textbox">
                </td>
            </tr>
            <tr>
                <td>手机号码</td>
                <td>
                    <input name="phoneNumber" class="easyui-textbox">
                </td>
            </tr>
            <tr>
                <td>邮箱</td>
                <td>
                    <input name="email" class="easyui-textbox">
                </td>
            </tr>
            <tr>
                <td>地址</td>
                <td>
                    <input name="address" class="easyui-textbox">
                </td>
            </tr>
            <tr>
                <td>学校名称</td>
                <td>
                    <input name="schoolName" class="easyui-textbox">
                </td>
            </tr>
            <tr>
                <td>紧急联系人</td>
                <td>
                    <input name="emergencyContactName" class="easyui-textbox">
                </td>
            </tr>
            <tr>
                <td>紧急联系人电话</td>
                <td>
                    <input name="emergencyContactPhone" class="easyui-textbox">
                </td>
            </tr>
            <tr>
                <td>所在班级</td>
                <td>
                    <input name="grade.id" class="easyui-combobox"
                           data-options="panelHeight:'auto', url:'/grade/list.do',
                               valueField:'id',textField:'className'">
                </td>
            </tr>
            <tr>
                <td>班主任</td>
                <td>
                    <input name="teacher.id" class="easyui-combobox"
                           data-options="panelHeight:'auto', url:'/employee/list.do',
                                    valueField:'id',textField:'realname'">
                </td>
            </tr>
            <tr>
                <td>信息备注</td>
                <td><textarea name="remark" rows="3"
                              class="textarea easyui-validatebox"></textarea>
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
</body>
</html>
